executable/dotnet-singlefile

bundled with .NET single-file deployment

rule:
  meta:
    name: bundled with .NET single-file deployment
    namespace: executable/dotnet-singlefile
    authors:
      - sara.rincon@mandiant.com
    scopes:
      static: file
      dynamic: file
    references:
      - https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli
      - https://github.com/dotnet/runtime/blob/84de9b678613675e0444b265905c82d33dae33a8/src/installer/managed/Microsoft.NET.HostModel/AppHost/HostWriter.cs
    examples:
      - 0da87fccbf7687a6c7ab38087dea8b8f32c2b1fb6546101485b7167d18d9c406
  features:
    - or:
      - and:
        - match: contains PDB path
        - string: "singlefilehost.pdb"
          description: symbol file for the native executable when PublishSingleFile is true
      - string: "Detected Single-File app bundle"

last edited: 2023-11-24 10:51:37